﻿function clearText(field) {

    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;

}

function OnClick() {
    if (divCalendar.style.display == "none")
        divCalendar.style.display = "Block";
    else
        divCalendar.style.display = "none";
}

function onTextChange(obj) {
    document.getElementById('hdnActualTextValue').value = obj.value;
    obj.value = '*****' + obj.value.substring(5);
}
